package com.llb.llbliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.llb.common.utils.PageUtils;
import com.llb.llbliving.commodity.entity.BrandEntity;
import com.llb.llbliving.commodity.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联表
 *
 * @author llb
 * @email llb@gmail.com
 * @date 2025-05-04 17:31:43
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //增加方法saveall
    void saveAll(CategoryBrandRelationEntity categoryBrandRelationEntity);

    //根据categoryId 返回该分类关联的品牌信息-集合
    List<BrandEntity> getBrandsByCategoryId(Long categoryId);
}

